package com.wanji.single_point.service;

import com.wanji.single_point.entity.Radar;
import com.wanji.single_point.pojo.PutParam;
import com.wanji.single_point.pojo.RadarResult;


/**
 * <p>
 *  服务类
 * </p>
 *
 * @author xinyingjie
 * @since 2022-07-14
 */
public interface RadarService  {


    /**
     * 接收okhttp的数据
     * @param userId
     * @param radarReal
     * @param radarTest
     */
    void putData(String userId, Radar[] radarReal, Radar[] radarTest, PutParam param);

    /**
     * 返回展示结果
     * @param userId
     * @return
     */
    RadarResult getResult(String userId);

    /**
     * 推出登录，删除缓存
     * @param userId
     */
    void deleteCache(String userId);

    PutParam putParamer(String realCode, String testCode, Long beginTime, Long endTime);
}
